diff options
author | Attila Veghelyi <works@veghelyiattila.hu> | 2024-06-25 20:25:31 +0200 |
---|---|---|
committer | Attila Veghelyi <works@veghelyiattila.hu> | 2024-06-25 20:25:31 +0200 |
commit | 5f686d5179d6a23a37378550b8c1122453d240c1 (patch) | |
tree | 423d6dbd1fa19a6487abb67c8da1c102ea9748b5 /Makefile_op | |
parent | 2ec9ceca347f2052a0884e115a5198e5ea716262 (diff) | |
download | OpenProgrammer-5f686d5179d6a23a37378550b8c1122453d240c1.tar.gz OpenProgrammer-5f686d5179d6a23a37378550b8c1122453d240c1.zip |
Stop the process when device ID is unknown
Diffstat (limited to 'Makefile_op')
-rw-r--r-- | Makefile_op | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/Makefile_op b/Makefile_op index 6d34e67..5fff89a 100644 --- a/Makefile_op +++ b/Makefile_op @@ -4,17 +4,19 @@ CC = gcc CFLAGS = '-DVERSION="$(VERSION)"' -w -Os -s #size #CFLAGS = -w -O3 -s #CFLAGS = -w -g #debug -OBJECTS = op.o \ - progP12.o \ - progP16.o \ - progP18.o \ - progP24.o \ - progEEPROM.o \ - progAVR.o \ - fileIO.o \ - deviceRW.o \ - I2CSPI.o \ - strings.o +SOURCES = op.c \ + progP12.c \ + progP16.c \ + progP18.c \ + progP24.c \ + progEEPROM.c \ + progAVR.c \ + fileIO.c \ + deviceRW.c \ + I2CSPI.c \ + strings.c + +OBJECTS = $(addsuffix .o, $(basename $(SOURCES))) LDFLAG = -lrt |