Update Makefile.fenster to make Doom example compile on Windows

Removed -lc switch from Windows branch of Makefile
This commit is contained in:
Luca Bolognese
2023-11-22 12:38:06 +01:00
committed by GitHub
parent 92aa0ecd30
commit dea3b43853

View File

@ -1,13 +1,13 @@
CFLAGS+=-Wall -DNORMALUNIX -DLINUX -DSNDSERV -D_DEFAULT_SOURCE
LIBS+=-lm -lc
LIBS+=-lm
ifeq ($(OS),Windows_NT)
LIBS+= -lgdi32
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
LIBS+=-framework Cocoa
LIBS+=-lc -framework Cocoa
else
LIBS+=-lX11
LIBS+=-lc -lX11
endif
endif