Merge pull request #27 from funbars/cleanup

makefile cleanup
This commit is contained in:
Twinaphex 2019-08-17 15:14:51 +02:00 committed by GitHub
commit f088d8d668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,6 @@ compile = \
libnes_objects := $(patsubst %,obj/%.o,$(objects))
$(TARGET): $(libnes_objects)
@echo "** BUILDING $(TARGET) FOR PLATFORM $(platform) **"
ifeq ($(platform),unix)
$(cpp) -o $@ -shared $(libnes_objects) -Wl,--no-undefined -Wl,--version-script=link.T
else ifeq ($(platform),win)
@ -127,7 +126,6 @@ else ifeq ($(platform),win)
else
$(cpp) -o $@ -dynamiclib $(libnes_objects) $(LDFLAGS)
endif
@echo "** BUILD SUCCESSFUL! GG NO RE **"
clean:
rm -f $(libnes_objects) $(TARGET)