diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-04-27 19:13:51 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-04-27 19:13:51 +0200 |
commit | 91a6dc5c75f23164a9b9100dbe96ebd2fee6860b (patch) | |
tree | dbff2719a538ec8e9728f27fe647c2a1a6ac79cb /lib/eunit/src/Makefile | |
parent | c135bf3837bea0c3560a4808f5175c06c20d9bd4 (diff) | |
parent | 57dffc2e9adffd5834a18f837b7d06edf8de8e92 (diff) | |
download | otp-91a6dc5c75f23164a9b9100dbe96ebd2fee6860b.tar.gz otp-91a6dc5c75f23164a9b9100dbe96ebd2fee6860b.tar.bz2 otp-91a6dc5c75f23164a9b9100dbe96ebd2fee6860b.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/eunit/src/Makefile')
-rw-r--r-- | lib/eunit/src/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/eunit/src/Makefile b/lib/eunit/src/Makefile index bec2fdbe0b..0b6ed1e839 100644 --- a/lib/eunit/src/Makefile +++ b/lib/eunit/src/Makefile @@ -28,6 +28,9 @@ ERL_COMPILE_FLAGS += -pa $(EBIN) -I$(INCLUDE) +warn_unused_vars +nowarn_shadow_v PARSE_TRANSFORM = eunit_autoexport.erl +BEHAVIOUR_SOURCES= \ + eunit_listener.erl + SOURCES= \ eunit_striptests.erl \ eunit.erl \ @@ -40,13 +43,16 @@ SOURCES= \ eunit_data.erl \ eunit_tty.erl \ eunit_surefire.erl \ - eunit_listener.erl INCLUDE_FILES = eunit.hrl PARSE_TRANSFORM_BIN = $(PARSE_TRANSFORM:%.erl=$(EBIN)/%.$(EMULATOR)) -OBJECTS=$(SOURCES:%.erl=$(EBIN)/%.$(EMULATOR)) $(APP_TARGET) $(APPUP_TARGET) +TARGET_FILES= $(SOURCES:%.erl=$(EBIN)/%.$(EMULATOR)) + +BEHAVIOUR_TARGET_FILES= $(BEHAVIOUR_SOURCES:%.erl=$(EBIN)/%.$(EMULATOR)) + +OBJECTS= $(TARGET_FILES) $(BEHAVIOUR_TARGET_FILES) $(APP_TARGET) $(APPUP_TARGET) INCLUDE_DELIVERABLES = $(INCLUDE_FILES:%=$(INCLUDE)/%) @@ -62,6 +68,8 @@ APPUP_TARGET= $(EBIN)/$(APPUP_FILE) # Targets # ---------------------------------------------------- +$(TARGET_FILES): $(BEHAVIOUR_TARGET_FILES) + debug opt: $(PARSE_TRANSFORM_BIN) $(OBJECTS) docs: |