Commit db9fe26d authored by Sergio Costas's avatar Sergio Costas

Makefile: complete change from CPP to CXX variables

parent 1eeea067
......@@ -9,75 +9,75 @@ CXXFLAGS += `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D
LDFLAGS += `pkg-config --libs sdl2 libpulse-simple alsa`
fbzx: cargador.o cmdline.o computer.o emulator.o keyboard.o llscreen.o llsound.o menus.o microdrive.o mouse.o osd.o screen.o signals.o spk_ay.o tape.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o
fbzx: cargador.o cmdline.o computer.o emulator.o keyboard.o llscreen.o llsound.o menus.o microdrive.o mouse.o osd.o screen.o signals.o spk_ay.o tape.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o
$(LN) -o fbzx cargador.o cmdline.o computer.o emulator.o keyboard.o llscreen.o llsound.o menus.o microdrive.o mouse.o osd.o screen.o signals.o spk_ay.o tape.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o $(LDFLAGS)
Z80free.o: z80free/Z80free.c z80free/Z80free.h
$(CC) -o Z80free.o z80free/Z80free.c
$(CXX) -o Z80free.o z80free/Z80free.c
Z80free_codes.o: z80free/Z80free_codes.c z80free/Z80free.h
$(CC) -o Z80free_codes.o z80free/Z80free_codes.c
$(CXX) -o Z80free_codes.o z80free/Z80free_codes.c
Z80free_codesCB.o: z80free/Z80free_codesCB.c z80free/Z80free.h
$(CC) -o Z80free_codesCB.o z80free/Z80free_codesCB.c
$(CXX) -o Z80free_codesCB.o z80free/Z80free_codesCB.c
Z80free_codesED.o: z80free/Z80free_codesED.c z80free/Z80free.h
$(CC) -o Z80free_codesED.o z80free/Z80free_codesED.c
$(CXX) -o Z80free_codesED.o z80free/Z80free_codesED.c
Z80free_codesDD.o: z80free/Z80free_codesDD.c z80free/Z80free.h
$(CC) -o Z80free_codesDD.o z80free/Z80free_codesDD.c
$(CXX) -o Z80free_codesDD.o z80free/Z80free_codesDD.c
Z80free_codesFD.o: z80free/Z80free_codesFD.c z80free/Z80free.h
$(CC) -o Z80free_codesFD.o z80free/Z80free_codesFD.c
$(CXX) -o Z80free_codesFD.o z80free/Z80free_codesFD.c
Z80free_codesDDCB.o: z80free/Z80free_codesDDCB.c z80free/Z80free.h
$(CC) -o Z80free_codesDDCB.o z80free/Z80free_codesDDCB.c
$(CXX) -o Z80free_codesDDCB.o z80free/Z80free_codesDDCB.c
Z80free_codesFDCB.o: z80free/Z80free_codesFDCB.c z80free/Z80free.h
$(CC) -o Z80free_codesFDCB.o z80free/Z80free_codesFDCB.c
$(CXX) -o Z80free_codesFDCB.o z80free/Z80free_codesFDCB.c
cargador.o: cargador.cpp spk_ay.hh keyboard.hh emulator.hh screen.hh osd.hh z80free/Z80free.h computer.hh signals.hh llscreen.hh tape.hh cargador.hh
$(CPP) $(CPPFLAGS) -o cargador.o cargador.cpp
$(CXX) $(CXXFLAGS) -o cargador.o cargador.cpp
cmdline.o: cmdline.cpp cmdline.hh
$(CPP) $(CPPFLAGS) -o cmdline.o cmdline.cpp
$(CXX) $(CXXFLAGS) -o cmdline.o cmdline.cpp
computer.o: computer.cpp z80free/Z80free.h llsound.hh mouse.hh keyboard.hh computer.hh screen.hh signals.hh llscreen.hh tape.hh emulator.hh osd.hh spk_ay.hh microdrive.hh menus.hh
$(CPP) $(CPPFLAGS) -o computer.o computer.cpp
$(CXX) $(CXXFLAGS) -o computer.o computer.cpp
emulator.o: emulator.cpp mouse.hh z80free/Z80free.h spk_ay.hh keyboard.hh llsound.hh cmdline.hh computer.hh screen.hh signals.hh llscreen.hh tape.hh emulator.hh osd.hh microdrive.hh menus.hh cargador.hh
$(CPP) $(CPPFLAGS) -o emulator.o emulator.cpp
$(CXX) $(CXXFLAGS) -o emulator.o emulator.cpp
keyboard.o: keyboard.cpp emulator.hh screen.hh osd.hh z80free/Z80free.h menus.hh llscreen.hh llsound.hh computer.hh signals.hh tape.hh keyboard.hh
$(CPP) $(CPPFLAGS) -o keyboard.o keyboard.cpp
$(CXX) $(CXXFLAGS) -o keyboard.o keyboard.cpp
llscreen.o: llscreen.cpp osd.hh font.h llscreen.hh
$(CPP) $(CPPFLAGS) -o llscreen.o llscreen.cpp
$(CXX) $(CXXFLAGS) -o llscreen.o llscreen.cpp
llsound.o: llsound.cpp emulator.hh screen.hh osd.hh z80free/Z80free.h computer.hh signals.hh llscreen.hh tape.hh llsound.hh
$(CPP) $(CPPFLAGS) -o llsound.o llsound.cpp
$(CXX) $(CXXFLAGS) -o llsound.o llsound.cpp
menus.o: menus.cpp mouse.hh z80free/Z80free.h spk_ay.hh microdrive.hh keyboard.hh llsound.hh llscreen.hh menus.hh tape.hh signals.hh emulator.hh screen.hh osd.hh computer.hh cargador.hh
$(CPP) $(CPPFLAGS) -o menus.o menus.cpp
$(CXX) $(CXXFLAGS) -o menus.o menus.cpp
microdrive.o: microdrive.cpp osd.hh emulator.hh screen.hh z80free/Z80free.h computer.hh signals.hh llscreen.hh tape.hh microdrive.hh
$(CPP) $(CPPFLAGS) -o microdrive.o microdrive.cpp
$(CXX) $(CXXFLAGS) -o microdrive.o microdrive.cpp
mouse.o: mouse.cpp osd.hh keyboard.hh emulator.hh screen.hh z80free/Z80free.h computer.hh signals.hh llscreen.hh tape.hh mouse.hh
$(CPP) $(CPPFLAGS) -o mouse.o mouse.cpp
$(CXX) $(CXXFLAGS) -o mouse.o mouse.cpp
osd.o: osd.cpp osd.hh
$(CPP) $(CPPFLAGS) -o osd.o osd.cpp
$(CXX) $(CXXFLAGS) -o osd.o osd.cpp
screen.o: screen.cpp keyboard.hh computer.hh screen.hh signals.hh llscreen.hh z80free/Z80free.h tape.hh emulator.hh osd.hh
$(CPP) $(CPPFLAGS) -o screen.o screen.cpp
$(CXX) $(CXXFLAGS) -o screen.o screen.cpp
signals.o: signals.cpp signals.hh
$(CPP) $(CPPFLAGS) -o signals.o signals.cpp
$(CXX) $(CXXFLAGS) -o signals.o signals.cpp
spk_ay.o: spk_ay.cpp spk_ay.hh llsound.hh computer.hh screen.hh signals.hh llscreen.hh z80free/Z80free.h tape.hh emulator.hh osd.hh
$(CPP) $(CPPFLAGS) -o spk_ay.o spk_ay.cpp
$(CXX) $(CXXFLAGS) -o spk_ay.o spk_ay.cpp
tape.o: tape.cpp z80free/Z80free.h tape.hh signals.hh emulator.hh screen.hh osd.hh computer.hh llscreen.hh
$(CPP) $(CPPFLAGS) -o tape.o tape.cpp
$(CXX) $(CXXFLAGS) -o tape.o tape.cpp
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment