adjust makefile

This commit is contained in:
FunkyFr3sh 2024-08-11 08:58:00 +02:00
parent 555cf5de28
commit 2aada45a6c

View file

@ -12,8 +12,8 @@ ifdef DEBUG
CFLAGS += -D _DEBUG -D _DEBUG_X
endif
SRCS := $(wildcard src/*.c) $(wildcard src/*/*.c)
OBJS := $(SRCS:c=o) res.o
SRCS := $(wildcard src/*.c) $(wildcard src/*/*.c) res.rc
OBJS := $(addsuffix .o, $(basename $(SRCS)))
.PHONY: clean all
all: $(TARGET)