editor/bass-sys/win/bass24/c/makefile.in

18 lines
294 B
Makefile
Raw Permalink Normal View History

2021-01-05 10:17:41 +00:00
FLAGS = -Os -I.. -L..
LIBS = -lbass
OUTDIR = ..\bin
CC = gcc
RM = del
RES = windres
%.exe: %.c %.rc
$(RES) -i $*.rc -o rsrc.obj
$(CC) $(FLAGS) $*.c rsrc.obj $(LIBS) -o $(OUTDIR)\$@
$(RM) rsrc.obj
%.exe: %.c
$(CC) $(FLAGS) $*.c $(LIBS) -o $(OUTDIR)\$@
.PHONY: all clean