CC = gcc PROJECT = engine33 OBJS = main.o system33.o input33.o logger33.o font33.o strings33.o ui33.o clock33.o display33.o PDIR = ./bin .PATH: ./src INCS = -I./include -I./include/musl -I./include/libdrm LIBS = -L./lib/musl -L./lib/libdrm CFLAGS = -march=native -mtune=native -static -w -Wall -Werror -Wextra -Wshadow -Wpedantic -D_XOPEN_SOURCE=700 .MAKE.JOBS = 1C .SUFFIXES: .o .c .c.o: $(CC) $(CFLAGS) -o $(.TARGET) $(INCS) -c $(.IMPSRC) $(PROJECT): $(OBJS) $(CC) $(CFLAGS) $(LIBS) -o $(.TARGET) $(.OODATE) mkdir -p $(PDIR) mv $(.TARGET) $(.ALLSRC:T) $(PDIR) clean: rm bin/*.o