mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-12 15:30:55 +00:00
missing Makefile. Really need to set up proper .gitignore
This commit is contained in:
parent
40616da66b
commit
fa2c44d997
21
gr-sim/text/Makefile
Normal file
21
gr-sim/text/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user