mirror of
https://github.com/ArthurFerreira2/reinette-II-plus.git
synced 2024-12-22 11:29:59 +00:00
18 lines
454 B
Makefile
18 lines
454 B
Makefile
CC = gcc
|
|
FLAGS = -std=c99 -pedantic -Wpedantic -Wall -O3 -Werror
|
|
|
|
LIBS = -lSDL2
|
|
# comment this line if you are under Linux :
|
|
WIN32-LIBS = -lmingw32 -lSDL2main -Wl,-subsystem,windows
|
|
|
|
# comment this line if you are under Linux :
|
|
WIN32-RES = reinetteII+.res
|
|
|
|
reinetteII+: reinetteII+.c puce6502.c $(WIN32-RES)
|
|
$(CC) $^ $(FLAGS) $(WIN32-LIBS) $(LIBS) -o $@
|
|
|
|
reinetteII+.res: reinetteII+.rc
|
|
windres reinetteII+.rc -O coff -o $(WIN32-RES)
|
|
|
|
all: reinetteII+
|