summaryrefslogtreecommitdiff
path: root/jeu-test/tetris_lan_src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'jeu-test/tetris_lan_src/Makefile')
-rw-r--r--jeu-test/tetris_lan_src/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/jeu-test/tetris_lan_src/Makefile b/jeu-test/tetris_lan_src/Makefile
new file mode 100644
index 0000000..3566d5b
--- /dev/null
+++ b/jeu-test/tetris_lan_src/Makefile
@@ -0,0 +1,14 @@
+# Makefile
+#PATH = /usr/include/SDL
+TARGET = tetris
+OBJECTS = main.o game.o frame.o font.o menu.o sfx.o tcpip.o
+
+CFLAGS = -O3 -Wall -g -I/usr/include/SDL -L/usr/lib
+LIBS = -lSDL #-lSDL_image
+CC = gcc
+
+all: $(TARGET)
+
+$(TARGET): $(OBJECTS)
+ $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
+