mirror of
https://github.com/zserge/fenster.git
synced 2025-07-25 13:16:13 +03:00
Update Makefile.fenster to make Doom example compile on Windows
Removed -lc switch from Windows branch of Makefile
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user