initial commit
This commit is contained in:
commit
961e0472f5
13 changed files with 614 additions and 0 deletions
20
Makefile
Normal file
20
Makefile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
include config.mk
|
||||
|
||||
PROG ?= eh
|
||||
OBJS = main.o\
|
||||
lib/log.c/src/log.o\
|
||||
include/led.o\
|
||||
include/acpi.o\
|
||||
include/utils.o
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
# main build task
|
||||
.c.h.o:
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
$(PROG): $(OBJS)
|
||||
$(CC) $(CFLAGS) -o $@ $(OBJS)
|
||||
|
||||
clean:
|
||||
rm $(PROG) $(OBJS)
|
||||
Loading…
Add table
Add a link
Reference in a new issue