]> git.sur5r.net Git - gsconf/blobdiff - Makefile
Initial Commit
[gsconf] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..9e9fcf5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+CC=gcc
+CFLAGS=-I.
+DEPS = 
+OBJ = socket.o main.o gs105e.o shell.o shell_ip.o shell_vlan.o shell_port.o
+
+%.o: %.c $(DEPS)
+       $(CC) -c -o $@ $< $(CFLAGS)
+
+gsconfig: $(OBJ)
+       gcc -o $@ $^ $(CFLAGS)
+
+clean:
+       rm *.o -rf
+       rm gsconfig -rf