dos33fsprogs/gr-sim/text/Makefile
Vince Weaver 50584c5541 fix ordering of LFLAGS in Makefiles
recent Debian stopped allowing this
2019-11-12 09:53:24 -05:00

22 lines
303 B
Makefile

CC = gcc
CFLAGS = -Wall -O2 -I.. -g
LFLAGS = -lm
SDL_LIBS= `sdl-config --libs`
SDL_INCLUDE= `sdl-config --cflags`
GR_SIM = ../gr-sim.a
all: text
####
text: text.o $(GR_SIM)
$(CC) -o text text.o $(GR_SIM) $(LFLAGS) $(SDL_LIBS)
text.o: text.c
$(CC) $(CFLAGS) -c text.c
clean:
rm -f *~ *.o text