Add architecture guards to all architecture-specific files, so that they can be bulk...
[pub/USBasp.git] / Projects / Webserver / makefile
index 16a5e14..50ca2e9 100644 (file)
@@ -260,6 +260,7 @@ CFLAGS += -fno-inline-small-functions
 CFLAGS += -fpack-struct
 CFLAGS += -fshort-enums
 CFLAGS += -fno-strict-aliasing
+CFLAGS += -fno-split-wide-types
 CFLAGS += -Wall
 CFLAGS += -Wstrict-prototypes
 #CFLAGS += -mshort-calls
@@ -734,8 +735,10 @@ clean_list :
        $(REMOVEDIR) .dep
 
 doxygen:
-       @echo Generating Project Documentation...
-       @doxygen Doxygen.conf
+       @echo Generating Project Documentation \($(TARGET)\)...
+       @if ( doxygen Doxygen.conf 2>&1 | grep ": warning:" ;); then \
+         exit 1; \
+       fi;
        @echo Documentation Generation Complete.
 
 clean_doxygen: