mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-31 14:30:17 +00:00
18 lines
282 B
Makefile
18 lines
282 B
Makefile
CC = gcc
|
|
CFLAGS = -O2 -Wall -I.. -g
|
|
|
|
SDL_LIBS= `sdl-config --libs`
|
|
SDL_INCLUDE= `sdl-config --cflags`
|
|
GR_SIM = ../gr-sim.a
|
|
|
|
all: drops
|
|
|
|
drops: drops.o
|
|
$(CC) $(LFLAGS) -o drops drops.o $(GR_SIM) $(SDL_LIBS)
|
|
|
|
drops.o: drops.c
|
|
$(CC) $(CFLAGS) -c drops.c
|
|
|
|
clean:
|
|
rm -f *~ *.o drops
|