Cleanup the Makefile.
This commit is contained in:
parent
dff1df30bc
commit
9959b123d2
4
Makefile
4
Makefile
@ -26,7 +26,7 @@ OBJS+=$(OBJDIR)/gpio_sysfs.o
|
||||
endif
|
||||
|
||||
ifeq ($(OS),msys)
|
||||
CFLAGS += -DMINGW
|
||||
CFLAGS+=MINGW
|
||||
EXT=.exe
|
||||
OSINT=osint_mingw enumcom
|
||||
LIBS=-lsetupapi
|
||||
@ -54,7 +54,7 @@ ploader.h
|
||||
|
||||
OBJS+=$(foreach x, $(OSINT), $(OBJDIR)/$(x).o)
|
||||
|
||||
CFLAGS+=-Wall -DOS_$(OS)
|
||||
CFLAGS+=-Wall
|
||||
LDFLAGS=$(CFLAGS)
|
||||
|
||||
.PHONY: default
|
||||
|
Loading…
Reference in New Issue
Block a user