From: Andre Noll <maan@systemlinux.org>
Date: Sat, 22 Mar 2008 14:26:56 +0000 (+0100)
Subject: Add special rule to make cmdline.o.
X-Git-Tag: v0.0.4~2
X-Git-Url: https://git.tue.mpg.de/?a=commitdiff_plain;h=e20dedbac369be3f69cc56221730fe2ee41e745c;p=dss.git

Add special rule to make cmdline.o.

I got tired of the warnings gcc spits out when compiling cmdline.c.
---

diff --git a/Makefile b/Makefile
index 13ad84f..ca5a1a2 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,9 @@ Makefile.deps: $(wildcard *.c *.h)
 dss: $(dss_objects)
 	$(CC) -o $@ $(dss_objects)
 
+cmdline.o: cmdline.c cmdline.h
+	$(CC) -c $(CPPFLAGS) $<
+
 %.o: %.c Makefile
 	$(CC) -c $(CPPFLAGS) $(DEBUG_CPPFLAGS) $<