From 5df9421eb28836e72d112da635fdabbc59ad7185 Mon Sep 17 00:00:00 2001 From: Attila Veghelyi Date: Tue, 30 Jan 2024 19:24:17 +0100 Subject: Follow version 0.12.2 --- Makefile | 61 ------------------------------------------------------------- 1 file changed, 61 deletions(-) delete mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile deleted file mode 100644 index 2abc748..0000000 --- a/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -OP_PROGRAM := op -OPGUI_PROGRAM := opgui - -VERSION = 0.12.1 - -CFLAGS := '-DVERSION="$(VERSION)"' -CFLAGS += -Os -s #size -CFLAGSGUI := -DOPGUI `pkg-config --cflags gtk+-3.0` - -OBJECTS := \ - progP12.o \ - progP16.o \ - progP18.o \ - progP24.o \ - progEEPROM.o \ - progAVR.o \ - fileIO.o \ - deviceRW.o \ - I2CSPI.o \ - strings.o \ - -OP_OBJ := \ - op.o \ - -OPGUI_OBJ := \ - opgui.o \ - coff.o \ - icd.o \ - resources.o \ - -LDFLAGS := -lrt -LDFLAGSGTK := `pkg-config --libs gtk+-3.0` - -all: $(OP_PROGRAM) $(OPGUI_PROGRAM) - -# https://stackoverflow.com/a/1305879 - -$(OPGUI_PROGRAM): EXTRA_FLAGS := $(CFLAGSGUI) - -%.o: %.c - @echo "\tCC $@" - $(CC) $(CFLAGS) $(EXTRA_FLAGS) -c $^ -o $@ - -resources.c: resources.xml opgui.glade - @glib-compile-resources resources.xml --target=resources.c --generate-source - -$(OPGUI_PROGRAM): $(OBJECTS) $(OPGUI_OBJ) - @echo "\tLD $@" - $(CC) $^ -o $@ $(LDFLAGS) $(LDFLAGSGTK) - @rm -f *.o resources.c - -$(OP_PROGRAM): $(OBJECTS) $(OP_OBJ) - @echo "\tLD $@" - $(CC) $^ -o $@ $(LDFLAGS) - @rm -f *.o - -clean: - @echo "\tCLEAN .o" - @rm -f *.o - -.PHONY: all clean -- cgit v1.2.3-54-g00ecf