diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-04-02 10:31:10 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2007-04-02 10:31:10 +1000 |
commit | f60d0b2e7dbd9d85980866c68d0f87b6bc823663 (patch) | |
tree | e41787450d6ef61296ec33b0743275716bba5a95 /Makefile | |
download | talos-petitboot-f60d0b2e7dbd9d85980866c68d0f87b6bc823663.tar.gz talos-petitboot-f60d0b2e7dbd9d85980866c68d0f87b6bc823663.zip |
Initial gitification of petitboot
Start a git repo for petitboot, sources from Ben Herrenschmidt
and Jeremy Kerr.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b0a92ea --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +CC=gcc +TWIN_CFLAGS=$(shell pkg-config --cflags libtwin) +TWIN_LDFLAGS=$(shell pkg-config --libs libtwin) + +LDFLAGS = $(TWIN_LDFLAGS) +CFLAGS = -O0 -ggdb -Wall $(TWIN_CFLAGS) + +OBJFILES = petitboot.o devices.o + +petitboot: $(OBJFILES) + $(CC) $(LDFLAGS) -o $@ $^ + +clean: + rm -f petitboot + rm -f *.o |