mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-08-18 23:29:26 +00:00
24 lines
335 B
Makefile
24 lines
335 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: gr_view
|
|
|
|
###
|
|
|
|
gr_view: gr_view.o $(GR_SIM)
|
|
$(CC) $(LFLAGS) $(SDL_LIBS) -o gr_view gr_view.o $(GR_SIM)
|
|
|
|
gr_view.o: gr_view.c
|
|
$(CC) $(CFLAGS) -c gr_view.c
|
|
|
|
####
|
|
|
|
|
|
clean:
|
|
rm -f *~ *.o gr_view
|