Adapt to unified Makefile with plugin support

This commit is contained in:
2024-09-19 16:27:34 +02:00
parent 2185ed9962
commit ba422400d9
7 changed files with 350 additions and 52 deletions

15
premake.make Normal file
View File

@ -0,0 +1,15 @@
LDLIBS := -lm -lscgui -lcairo -lscerror -lscstring -lscscreensaver -lscnumerics
LDLIBS += $(shell pkg-config sdl2 --libs)
CXXFLAGS += $(shell pkg-config sdl2 --cflags)
PRODUCT := tool
MAJOR := 1
MINOR := 0
PATCH := 0
PRECOMPILE := 0
MAKE += --no-print-directory
PLUGINS := $(wildcard modules/*)