mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-16 23:20:43 +00:00
b1238af49d
this will probably upset people
29 lines
444 B
Makefile
29 lines
444 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: fade
|
|
|
|
|
|
####
|
|
#demo_title.c: ../gr-utils/png2rle ../tfv/demo.png
|
|
# ../gr-utils/png2rle c ../tfv/demo.png demo_rle > demo_title.c
|
|
|
|
|
|
####
|
|
|
|
fade: fade.o $(GR_SIM)
|
|
$(CC) -o fade fade.o $(GR_SIM) $(LFLAGS) $(SDL_LIBS)
|
|
|
|
fade.o: fade.c demo_title.c
|
|
$(CC) $(CFLAGS) -c fade.c
|
|
|
|
####
|
|
|
|
clean:
|
|
rm -f *~ *.o fade
|