dos33fsprogs/gr-sim/gr/Makefile

24 lines
335 B
Makefile
Raw Normal View History

2018-09-28 00:00:05 +00:00
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)
2019-10-07 04:12:36 +00:00
$(CC) -o gr_view gr_view.o $(GR_SIM) $(LFLAGS) $(SDL_LIBS)
2018-09-28 00:00:05 +00:00
gr_view.o: gr_view.c
$(CC) $(CFLAGS) -c gr_view.c
####
clean:
rm -f *~ *.o gr_view