mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-06 14:54:25 +00:00
26 lines
456 B
Makefile
26 lines
456 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: split_screen KATC.BIN
|
||
|
|
||
|
###
|
||
|
|
||
|
split_screen: split_screen.o $(GR_SIM)
|
||
|
$(CC) $(LFLAGS) $(SDL_LIBS) -o split_screen split_screen.o $(GR_SIM)
|
||
|
|
||
|
split_screen.o: split_screen.c
|
||
|
$(CC) $(CFLAGS) -c split_screen.c
|
||
|
|
||
|
####
|
||
|
|
||
|
KATC.BIN: kat.bmp
|
||
|
../../bmp2dhr/b2d kat.bmp hgr dither
|
||
|
|
||
|
clean:
|
||
|
rm -f *~ *.o split_screen image_load
|