diff win95kggui/Makefile @ 64:1508aee998df

Add Windows 95 Keygen GUI
author Paper <mrpapersonic@gmail.com>
date Mon, 25 Apr 2022 02:10:41 -0400
parents
children dbf5ce219fe3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/win95kggui/Makefile	Mon Apr 25 02:10:41 2022 -0400
@@ -0,0 +1,13 @@
+# please remind me to never create makefiles ever again
+
+CC_FLAGS=-Wall -O2 -static -I./include
+LD_FLAGS=-lbass -mwindows
+
+win95kggui:
+	$(CC) -o src/win95kggui.o -c src/win95kggui.c $(CC_FLAGS)
+	windres src/icon.rc src/icon.o -I./include
+	$(LD) -r -b binary -o src/bergsm.o src/bergsm.xm
+	$(CC) -o win95kggui.exe src/win95kggui.o src/icon.o src/bergsm.o $(CC_FLAGS) $(LD_FLAGS)
+
+clean:
+	rm -f src/*.o *.exe