diff options
author | quou <quou@disroot.org> | 2024-06-02 21:46:07 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-06-02 21:47:26 +1000 |
commit | 62b4a3ededd237f4b4850d91c052585e2f687499 (patch) | |
tree | 25bf590a634c6c71f399cf9b1d620500f06b8b9f /Makefile | |
parent | 2e761bdb8badecdbda2925a056a6d5aa3e3cac83 (diff) |
Switched to luigi, parsing out FLAC metadata.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -5,24 +5,19 @@ cflags = -I./ -g $(includes) $(defines) \ lflags = -lX11 -lm target = twinkplayer includes = -defines = -Dplat_x11 \ +defines = \ -Dplat_posix \ -Dplat_pulse \ -Dis64bit=1 \ -Dplat_x86 \ -DDEBUG +luigi = luigi.o sources = \ - cfgparse.c \ - font.c \ library.c \ main.c \ memory.c \ - plat.c \ - rcache.c \ - rect.c \ - render.c \ - ui.c + plat.c objects = $(sources:%.c=%.o) @@ -31,12 +26,15 @@ all: $(target) $(objects): %.o : %.c $(compiler) -MMD -MF $(basename $@).d $(cflags) -o $@ -c $< -$(target): $(objects) - $(linker) $(objects) -o $@ $(lflags) +$(luigi): luigi.c + gcc -MMD -MF $(basename $@).d -DUI_LINUX -w -std=c11 -g -o $@ -c $< + +$(target): $(objects) $(luigi) + $(linker) $(objects) $(luigi) -o $@ $(lflags) clean: rm *.d rm *.o - rm $(target) + rm -f $(target) -include $(sources:%.c=%.d) |