This repository has been archived on 2025-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
domeTimer/Makefile
2020-12-25 21:08:41 +01:00

17 lines
323 B
Makefile

CC := gcc
CURDIR := $(shell pwd)
DEBUGDIR := $(CURDIR)/debug
SRCDIR := $(CURDIR)/src
main.o: src/main.c
mkdir -p $(DEBUGDIR)
$(CC) -c $(SRCDIR)/main.c -o $(DEBUGDIR)/main.o
domeTimer: main.o
$(CC) $(SRCDIR)/main.c -o $(CURDIR)/domeTimer
all: domeTimer
clean:
rm -p domeTimer $(DEBUGDIR)/*