Update Makefile for the zenity clone

This commit is contained in:
fedir 2025-05-01 16:13:31 +02:00
parent ccb449ae57
commit 747077f365
Signed by: fedir
GPG Key ID: C959EE85F0C9362C

View File

@ -46,7 +46,7 @@ endif
TARGETS := $(BUILD_DIR)/zenity TARGETS := $(BUILD_DIR)/zenity
ifeq ($(TEST), 1) ifeq ($(TEST), 1)
#TARGETS += icfs_test TARGETS += zenity_test
endif endif
@ -54,7 +54,10 @@ endif
default: $(TARGETS) default: $(TARGETS)
.PHONY: clean .PHONY: clean zenity_test
zenity_test: $(BUILD_DIR)/zenity
./zenity 666 cat /home/fedir Downloads
$(BUILD_DIR)/zenity: $(BUILD_DIR)/zenity.o $(BUILD_DIR)/zenity: $(BUILD_DIR)/zenity.o
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $(BUILD_DIR)/zenity $(CC) $(CFLAGS) $^ $(LDFLAGS) -o $(BUILD_DIR)/zenity