1 # Makefile for xuni, Windows version
7 CFLAGS = -W -Wall -ansi -pedantic -g -I$(SDLINCPATH)
8 CLINK = -lm -lSDL.dll -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf
10 OBJ = game.o graphics.o loop.o menu.o options.o settings.o xuni.o
18 #$(CC) $(CFLAGS) -o $(TARGET) $(OBJ) $(CLINK)
20 $(CC) -L$(SDLLIBPATH) -o $(TARGET) *.o -lSDL_gfx -lSDLmain -lSDL.dll -lSDL -lSDL_image -lSDL_ttf
23 game.o: game.c game.h graphics.h loop.h menu.h xuni.h
24 graphics.o: graphics.c graphics.h settings.h xuni.h
25 loop.o: loop.c game.h graphics.h loop.h menu.h options.h xuni.h
26 menu.o: menu.c graphics.h loop.h menu.h xuni.h
27 options.o: options.c options.h graphics.h loop.h menu.h xuni.h
28 settings.o: settings.c graphics.h settings.h xuni.h
29 xuni.o: xuni.c graphics.h loop.h menu.h settings.h xuni.h