diff options
| author | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
|---|---|---|
| committer | Sven Eisenhauer <sven@sven-eisenhauer.net> | 2023-11-10 15:11:48 +0100 |
| commit | 33613a85afc4b1481367fbe92a17ee59c240250b (patch) | |
| tree | 670b842326116b376b505ec2263878912fca97e2 /Master/Embedded Frameworks/Prakt5/watchdog/Makefile | |
| download | Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.gz Studium-33613a85afc4b1481367fbe92a17ee59c240250b.tar.bz2 | |
Diffstat (limited to 'Master/Embedded Frameworks/Prakt5/watchdog/Makefile')
| -rw-r--r-- | Master/Embedded Frameworks/Prakt5/watchdog/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/Embedded Frameworks/Prakt5/watchdog/Makefile b/Master/Embedded Frameworks/Prakt5/watchdog/Makefile new file mode 100644 index 0000000..6e9c04e --- /dev/null +++ b/Master/Embedded Frameworks/Prakt5/watchdog/Makefile @@ -0,0 +1,21 @@ +CC = g++ +LD = g++ +LIBS = -lrt +CFLAGS = -DLINUX -Wall +BINFILE = hwwatchdog +OBJFILE = hwwatchdog.o +SRCFILE = hwwatchdog.cpp + +all: + @echo "config:" + @echo "$(LIBS)" + @echo "$(CFLAGS)" + @echo "$(CC)" + @echo "Compiling $(OBJFILE)" + $(CC) $(CFLAGS) -c -o $(OBJFILE) $(SRCFILE) + @echo "Linking $(BINFILE)" + $(LD) $(CFLAGS) -o $(BINFILE) $(OBJFILE) $(LIBS) + +clean: + rm -f $(BINFILE) $(OBJFILE) + |
