mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-08-28 12:29:35 +00:00
22 lines
303 B
Makefile
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) $(LFLAGS) $(SDL_LIBS) -o text text.o $(GR_SIM)
|
|
|
|
text.o: text.c
|
|
$(CC) $(CFLAGS) -c text.c
|
|
|
|
clean:
|
|
rm -f *~ *.o text
|