dos33fsprogs/utils/gr-sim/drops/Makefile

18 lines
282 B
Makefile
Raw Normal View History

2021-02-01 18:09:26 +00:00
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