reinette-II-plus/Makefile

20 lines
457 B
Makefile
Raw Normal View History

2020-08-17 16:39:06 +00:00
CC = gcc
FLAGS = -std=c99 -pedantic -Wpedantic -Wall -O3
# -Werror
2020-08-17 16:39:06 +00:00
LIBS = -lSDL2
# comment this line if you are under Linux :
WIN32-LIBS = -lmingw32 -lSDL2main
#-Wl,-subsystem,windows
2020-08-17 16:39:06 +00:00
# comment this line if you are under Linux :
WIN32-RES = reinetteII+.res
2020-08-17 16:39:06 +00:00
reinetteII+: reinetteII+.c puce6502.c $(WIN32-RES)
$(CC) $^ $(FLAGS) $(WIN32-LIBS) $(LIBS) -o $@
2020-08-08 19:31:50 +00:00
2020-08-17 16:39:06 +00:00
reinetteII+.res: reinetteII+.rc
windres reinetteII+.rc -O coff -o $(WIN32-RES)
2020-08-08 19:31:50 +00:00
all: reinetteII+