reinette-II-plus/Makefile

16 lines
394 B
Makefile
Raw Normal View History

2020-08-17 16:39:06 +00:00
CC = gcc
2021-06-24 20:55:47 +00:00
FLAGS = -std=c11 -pedantic -Wpedantic -Wall -O3
2020-08-17 16:39:06 +00:00
LIBS = -lSDL2
2020-09-07 12:40:32 +00:00
# comment these two lines if you are under Linux :
2020-08-17 16:45:24 +00:00
WIN32-LIBS = -lmingw32 -lSDL2main -Wl,-subsystem,windows
2020-08-17 16:39:06 +00:00
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
2020-09-05 22:40:24 +00:00
windres $^ -O coff -o $(WIN32-RES)
2020-08-08 19:31:50 +00:00
all: reinetteII+